/*
 *  Copyright 2022 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import '../../../../styles/variables.less';

.manage-button {
  .ant-space-item:first-child {
    width: 40px;
    align-self: baseline;
  }
}

.manage-dropdown-button {
  border: none;
  background-color: @primary-1;
  padding: 0;
  border-radius: 4px;
  width: 24px;
  display: flex;
  justify-content: center;

  .ant-btn {
    padding: 0 4px;
  }
}

.manage-dropdown-button:hover,
.manage-dropdown-button:focus {
  .ant-btn {
    .manage-dropdown-icon {
      color: @primary-color;
      opacity: 0.5;
    }
  }
  .manage-dropdown-icon {
    color: @white;
    font-weight: 600;
  }
  background-color: @primary-color;
}

.manage-dropdown-list-container {
  .ant-dropdown-menu {
    padding: 8px 0px;
    background: @white;
    border: 1px solid #dde3ea;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    .ant-dropdown-menu-item {
      padding: 5px 16px;
    }
  }
}
